<template>
  <div>
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/articles' }">文章</el-breadcrumb-item>
      <el-breadcrumb-item>{{ this.title }}</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="block">
      <p class="title">{{ this.title }}</p>
      <p class="content">{{ this.content }}</p>
      <p class="createdTime">{{ this.createdTime }}</p>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      title: this.$route.query.title,
      content: this.$route.query.content,
      createdTime: this.$route.query.createdTime
    };
  },
  created() {},
  methods: {}
};
</script>
<style lang="less" scoped>
.block {
  margin-top: 40px;
  .title {
    text-align: center;
    font-size: 55px;
    font-weight: 600;
  }
  .content {
    font-size: 25px;
    line-height: 70px;
  }
  .createdTime {
    opacity: 0.6;
    font-size: 18px;
    float: right;
    margin-top: 100px;
    margin-right: 80px;
  }
}
</style>
